﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MVCms.Core.Developers
{
    /// <summary>
    /// PartialViews containing this attribute will be added to the list of modules
    /// </summary>
    public class PluginModuleAttribute : Attribute
    {
        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }
        /// <summary>
        /// Gets or sets the display name.
        /// </summary>
        /// <value>The display name.</value>
        public string DisplayName { get; set; }
        /// <summary>
        /// Gets or sets the description.
        /// </summary>
        /// <value>The description.</value>
        public string Description { get; set; }
        /// <summary>
        /// Gets or sets the controller this action post's to
        /// </summary>
        /// <value>The post controller.</value>
        public string PostController { get; set; }
        /// <summary>
        /// Gets or sets the action this action post's to
        /// </summary>
        /// <value>The post action.</value>
        public string PostAction { get; set; }
    }

    /// <summary>
    /// NOT YET IMPLEMENTED
    /// </summary>
    public class PluginModuleSettings : Attribute
    {
        public string Name { get; set; }
        public string PluginModule { get; set; }
    }
}
